<?php
/**
 * Intreface DAO
 *
 * @author: Ali
 * @date: 2012-02-08 20:52
 */
interface CommonFooterDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return CommonFooter 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param commonFooter primary key
 	 */
	public function delete($id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param CommonFooter commonFooter
 	 */
	public function insert($commonFooter);
	
	/**
 	 * Update record in table
 	 *
 	 * @param CommonFooter commonFooter
 	 */
	public function update($commonFooter);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByText1En($value);

	public function queryByText2En($value);

	public function queryByText3En($value);

	public function queryByText4En($value);

	public function queryByText1Sv($value);

	public function queryByText2Sv($value);

	public function queryByText3Sv($value);

	public function queryByText4Sv($value);


	public function deleteByText1En($value);

	public function deleteByText2En($value);

	public function deleteByText3En($value);

	public function deleteByText4En($value);

	public function deleteByText1Sv($value);

	public function deleteByText2Sv($value);

	public function deleteByText3Sv($value);

	public function deleteByText4Sv($value);


}
?>